package string;

/**
 * 说明:
 *
 * @author:SuZhongHe
 * @date:2023/2/28
 **/
public class ValueOfDemo {
    public static void main(String[] args) {
        int a=123;
        String s1=String.valueOf(a);
        System.out.println(s1);
        double b=123.321;
        String s2=String.valueOf(b);
        System.out.println(s2);
        String s3=b+"";
        System.out.println(s3);
    }
}
